//
//  QDPayTypeHeaderView.swift
//  QDMetroClient
//
//  Created by YueWen on 2019/2/28.
//  Copyright © 2019 YueWen. All rights reserved.
//

import UIKit

/// 绑定支付方式的header
final class QDPayTypeHeaderView: UITableViewHeaderFooterView {

    /// 显示文字的标签
    let titleLabel = UILabel()
    
    override init(reuseIdentifier: String?) {
        super.init(reuseIdentifier: reuseIdentifier)
        
        titleLabel.font = Font.semibold.font(size: 16)
        titleLabel.textColor = QDColors.black
        titleLabel.text = "已绑定支付方式"
        
        contentView.addSubview(titleLabel)
        
        titleLabel.snp.makeConstraints { (make) in
            make.bottom.equalToSuperview().inset(9)
            make.height.equalTo(22)
            make.left.equalToSuperview().offset(20)
        }
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}

